
package com.ruoyi.client.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 订单详情页页面VO
 */
@Data
public class OrderVo {
    private Long id;//订单id
    private Long userId;//用户id
    private String receiver;//收货地址姓名
    private String phone; //收货地址电话
    private String address;//收货地址详情
    private Long status;//状态(0待支付/1已支付/2已发货/3交易成功/-1已取消)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date orderTime;//订单时间
    private String remark;//订单备注
    private List<OrderDetailVo> detailList; //订单项列表
}
